import  java.io.*;
class ReadStringOrInt {        
public static void main(String args[]) {
                byte buf[]=new byte[50];              //50ֽڵڴַ
                String str;            
               double anDouble=0.0;                   //ֲҪʼ
                try {                                              //try
                         System.in.read(buf);            //Ӽ̶һִbuf
                         str=new String(buf,0);        //buf תString str 
                                                                    //(ASCIIַתUnicode봮)
                        anDouble=Double.parseDouble(str.trim());       //ִת˫
                } catch (Exception e) { }              //catch 䣬ExceptionΪ쳣
                System.out.println(anDouble);
	} 
}